<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>78_setup上下文对象</title>
</head>

<body>
    <div id="app">

    </div>
</body>
<script src="./js/vue.global.js"></script>
<script>

    const { createApp, ref,  onMounted } = Vue

    // 选项式api
    /*
    const app = createApp({
        data(){
            return {
                
            }
        },
        computed:{
            aaa(){






            },
            bbb(){








            }
        },
        methods:{
            fff(){









            }

            fffbbb(){







            }
        },
        watch:{
            state:function(){



















            },
            statebbb:function(){


                

            }
            
        },
        compnents:{

        }
       
    })
    */


    app.mount('#app')
</script>

</html>